package com.cxso.example.domain.wlpt.waybill;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Setter
@Getter
@Accessors(chain = true)
@Schema(description = "运单编辑基础信息")
public class ApiWaybillEditBasicDomain {

    @Schema(description = "司机ID")
    @NotBlank(message = "司机ID不可为空")
    private String driverId;

    @Schema(description = "车辆ID")
    @NotBlank(message = "车辆ID不可为空")
    private String vehicleId;

    @Schema(description = "运单备注")
    private String remark;

}
